﻿using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace FacialClub.Models.Entities
{
    /// <summary>
    /// ProductTypes
    /// </summary>
    [MetadataType(typeof (ProductTypeMetaData))]
    public partial class ProductTypes
    {
        /// <summary>
        /// ProductTypeMetaData
        /// </summary>
        [Bind(Exclude = "ProductTypeId")]
        public class ProductTypeMetaData
        {
            /// <summary>
            /// ProductTypeId
            /// </summary>
            [ScaffoldColumn(false)]
            public object ProductTypeId { get; set; }

            /// <summary>
            /// Email Type
            /// </summary>
            [Required(ErrorMessage = "Product Type is required")]
            [StringLength(160)]
            public string ProductType { get; set; }
        }
    }
}